package com.gxa.learning.core.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 申请项目的的映射关系
 *
 * @Author lirucong
 * @Date 14:36 2021/12/2
 */
@Table(name = "tb_project_apply")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProjectApply implements Serializable {
    /**
     * 项目报名编号
     */
    @Column(name = "project_apply_id")
    private Long applyId;
    /**
     * 项目的编号
     */
    @Column(name = "project_id")
    private Long projectId;
    /**
     * 用户编号
     */
    @Column(name = "user_id")
    private Long userId;
    /**
     * 报名状态（0代表待审核、1表示通过、2表示没通过）
     */
    @Column(name = "apply_status")
    private Integer applyStatus;
    /**
     * 是否支付
     */
    @Column(name = "pay")
    private Boolean pay;
}
